This routine obtains the value of the mutex type attribute in
the mutex attributes object specified by the attr argument and
stores it in the location specified by the type argument. See the
pthread_mutexattr_settype() description for information about
mutex types.